# -*- coding: utf-8 -*-

import vtn_factory

from vtn_base import VtnBase

class VtnFilter(VtnBase):

    def __init__(self, parent_window, filter):
        VtnBase.__init__(self, "vtn_filter", parent_window)
        self.show_background_image("bk_toquin")
        self.fill_treeview_with_model(self.treeview_instalables, filter)
        self.show()

    def on_btn_ayuda_clicked(self, widget, *args):
        print "on_btn_ayuda_clicked called with self.%s" % widget.get_name()

    def on_btn_ver_contenidos_clicked(self, widget, *args):
        vtn_factory.siwtch_to_resumen(self)
